package com.tjbklx1.zk.zookeeper.createSessionASync;

import org.apache.zookeeper.AsyncCallback.StringCallback;

public class IStringCallBack implements StringCallback {

	@Override
	public void processResult(int rc, String path, Object ctx, String name) {
		StringBuffer buff  = new StringBuffer();
		buff.append("rc=").append(rc);
		buff.append("\npath=").append(path);
		buff.append("\nctx=").append(ctx);
		buff.append("\nname=").append(name);
		System.out.println(buff.toString());
	}

}
